package com.awonsome.mall.ums.boot.service;

import com.awonsome.mall.pms.pojo.vo.ProductHistoryVO;
import com.awonsome.mall.ums.pojo.entity.UmsMember;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

/**
 * @author yangdejun
 * @date 2022/1/27 11:41
 */
public interface IUmsMemberService extends IService<UmsMember> {

    IPage<UmsMember> list(Page<UmsMember> page, String nickname);

    void addProductViewHistory(ProductHistoryVO productHistoryVO, Long userId);

    Set<ProductHistoryVO> getProductViewHistory(Long userId);

}
